<template>
  <section>
    <h1>开发中.....{{msg}}</h1>
  </section>
</template>

<script>
  //	import util from '../../common/util'
  import {mapGetters} from 'vuex'
  import {mapActions} from 'vuex'
  import NProgress from 'nprogress'

  export default {

    components: {},
    computed: {
      ...mapGetters([
        'getUser'
      ])
    },
    data() {
      return {
        msg:234
      }
    },
    methods: {
      ...mapActions([
        'setUser' // 映射 this.setuser() 为 this.$store.dispatch('setuser')
      ]),
    },
    mounted: function () {
      NProgress.start();
      NProgress.done();
    }
  }
</script>

<style scoped>

</style>